/* mouse.h */

#ifndef __mouse_h_
#define __mouse_h_

#define MS_GET_DATA	0
#define MS_PUT_DATA	1


/* mouse status structure data type definition */
typedef struct mouse_status 
{
	int mouse_flag;		/* if 1, there is new data available 	*/
	int x;			/* mouse cursor x position 		*/
	int y;			/* mouse cursor x position 		*/
	int left_button;	/* if 1, mouse left button was clicked 	*/
	int right_button;	/* if 1, mouse right button was clicked */
	int middle_button;	/* if 1, mouse middle button was clicked*/

	/* DEBUGGING AND TESTING 					*/
	int b1;			/* byte 1 				*/
	int dx;			/* byte 2, relative movement on x 	*/
	int dy;			/* byte 3, relative movement on y 	*/
} mouse_statusT;

#endif
 
